package jzqb.bo;

import jzqb.po.DynamicNewsPo;
import lombok.Data;

/**
 * Description:
 *
 * @author BaiGe
 * @date: 2021/4/19 14:24
 * @Version 1.0
 */
@Data
public class DynamicNewsBo  extends DynamicNewsPo {
    //搜索选项
    private String  searchType;
    //搜索值
    private String  searchValue;
    //搜索开始时间
    private String  startTime;
    //搜索结束时间
    private String  endTime;
    //当前页码
    private Integer page;
    //每页显示条数
    private Integer pageSize;
    //分页起始下标
    private Integer start;

    public void setStart(Integer page, Integer pageSize) {
        this.start = (page - 1) * pageSize;
    }
}
